home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / f90 / pxftime.z / pxftime
Text File  |  1998-10-30  |  2KB  |  60 lines

  1. PXFTIME(3F)                                            Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      PPXXFFTTIIMMEE - Gets system time
  6.  
  7. SSYYNNOOPPSSIISS
  8.      SSUUBBRROOUUTTIINNEE PPXXFFTTIIMMEE ((_i_t_i_m_e,, _i_e_r_r_o_r))
  9.      IINNTTEEGGEERR _i_t_i_m_e,, _i_e_r_r_o_r
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      UNICOS, UNICOS/mk, and IRIX systems
  13.  
  14. SSTTAANNDDAARRDDSS
  15.      IEEE standard interface for FORTRAN 77
  16.  
  17. DDEESSCCRRIIPPTTIIOONN
  18.      On IRIX systems, this routine is in lliibbffoorrttrraann..ssoo which is linked by
  19.      default when compiling programs with the MIPSpro 7 Fortran 90 compiler
  20.      or when compiling programs with the --ccrraayylliibbss option to the MIPSpro
  21.      7.2 F77 compiler.
  22.  
  23.      The routine PPXXFFTTIIMMEE uses the ttiimmee function to return the number of
  24.      seconds since 00:00:00 CTU (coordinated universal time), January 1,
  25.      1970 (the _E_p_o_c_h).
  26.  
  27.      When using the CF90 compiler or MIPSpro 7 Fortran 90 compiler on
  28.      UNICOS, UNICOS/mk, or IRIX systems, all arguments must be of default
  29.      kind unless documented otherwise.  On UNICOS and UNICOS/mk, default
  30.      kind is KKIINNDD==88 for integer, real, complex, and logical arguments; on
  31.      IRIX, the default kind is KKIINNDD==44.
  32.  
  33.      The following is a list of valid arguments for this routine:
  34.  
  35.      _i_t_i_m_e     An output integer variable specifying the number of seconds
  36.                since 00:00:00 UTC, January 1, 1970.
  37.  
  38.      _i_e_r_r_o_r    An output integer variable that contains zero if PPXXFFTTIIMMEE was
  39.                successful or nonzero if PPXXFFTTIIMMEE was not successful.
  40.  
  41. EEXXAAMMPPLLEESS
  42.      In this example, PPXXFFTTIIMMEE returns the current system time in number of
  43.      seconds since January 1, 1970.
  44.  
  45.                  program testpxf
  46.                  integer itime, ierror
  47.           c call PXFTIME
  48.                  CALL PXFTIME(itime, ierror)
  49.           c print output arguments
  50.                  print *,'itime=',itime
  51.                  print *,'ierror=',ierror
  52.                  end
  53.  
  54. SSEEEE AALLSSOO
  55.      ttiimmee(3C)
  56.  
  57.      _A_p_p_l_i_c_a_t_i_o_n _P_r_o_g_r_a_m_m_e_r'_s _L_i_b_r_a_r_y _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-
  58.      2165, for the printed version of this man page.
  59.  
  60.